﻿namespace BasecampRestAPI
{
	public class Attachment : IAttachment
	{
		public static IAttachment GetInstance(string uploadId, string originalFileName)
		{
			return new Attachment(uploadId, originalFileName);
		}
		private Attachment(string uploadId, string originalFileName)
		{
			UploadId = uploadId;
			OriginalFileName = originalFileName;
		}

		#region Implementation of IAttachment

		public string Name { get; set; }
		public string UploadId { get; private set; }
		public string ContentType { get; set; }
		public string OriginalFileName { get; private set; }

		#endregion
	}
}
